#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include<QLineEdit>
#include<QGridLayout>
#include "inputdlg.h"

class Dialog : public QDialog
{
    Q_OBJECT

public:
    Dialog(QWidget *parent = 0);
    ~Dialog();
private:
    /*---------------对话框-------------*/
    QPushButton *fileBtn;
    QLineEdit *fileLineEdit;
    QGridLayout *mainLayout;
    /*----------------颜色框---------------*/
    QPushButton *colorBtn;
    QFrame *colorFrame;
    /*-------------------字体--------------------------*/
    QPushButton *fontBtn;
    QLineEdit *fontLineEdit;

    QPushButton *inputBtn;
    InputDlg *inputDlg;
private slots:   //槽函数
    void showFile();//对话框
    void showColor();//颜色框
    void showFont();//字体
    void showInputDlg();
};

#endif // DIALOG_H
